package com.damage.materiel_dept.mapper;

import com.damage.common.entity.PurchaseInvoiceDetail;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface IPurchaseInvoiceDetailMapper {

    Integer insertBatch(@Param("details") List<PurchaseInvoiceDetail> details);

    List<PurchaseInvoiceDetail> findByPurchaseInvoiceId(Integer purchaseInvoiceId);
}
